package lxs.tool.liberator.common.base.base;

import lxs.tool.liberator.common.base.result.Response;
import org.springframework.web.bind.annotation.RequestBody;

public interface BaseController<V> {

    Response add(@RequestBody V v) throws Exception;

    Response update(@RequestBody V v);

    Response getById(String id);

    Response deleteById(String id);

    Response getList();
}
